import { NgModule, APP_INITIALIZER } from '@angular/core';
import { PpbrConfigService } from './services/ppbr-config.service';
import { noop } from '@abp/ng.core';
import { PpbrSettingsComponent } from './components/ppbr-settings.component';

@NgModule({
  declarations: [PpbrSettingsComponent],
  providers: [{ provide: APP_INITIALIZER, deps: [PpbrConfigService], multi: true, useFactory: noop }],
  exports: [PpbrSettingsComponent],
  entryComponents: [PpbrSettingsComponent],
})
export class PpbrConfigModule {}
